package com.night.administration.service;

import com.night.administration.excepyion.AreaConflictException;
import com.night.common.entity.PageBean;
import com.night.common.entity.administration.Classes;
import com.night.common.entity.administration.CourseManager;
import com.night.common.entity.administration.vo.CourseManagerVo;
import com.night.common.entity.administration.vo.CourseMangerQueryVo;
import com.night.common.entity.student.SelectCourseManagerVo;
import com.night.common.entity.student.Student;

import java.sql.Time;
import java.util.List;

/**
 * @ClassName: CourseManagerService
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/10/19-17:55
 * @version: v1.0
 */
public interface CourseManagerService {

    void judge(CourseManagerVo courseManagerVo) throws AreaConflictException;

    void insert(CourseManagerVo courseManagerVo);

    List<Student> ListStudentsByCourseManagerId(int courseManagerId);

    List<CourseManager> listCourseManagerByTeacher(CourseMangerQueryVo courseMangerQueryVo);

    PageBean<List<CourseManager>> getByCondition(SelectCourseManagerVo selectCourseManagerVo);

    List<Classes> getClassByTeacherId(int teacherId);

    int[] getStudentByCourseId(int courseId);

    List<CourseManager> getCourseByWeek(String week, int classId);

    List<CourseManager> getCourseByTeacherId(int teacherId, String week);

    List<Time> checkTime(String week, int teacherId, int classId);

}
